import QtQuick 2.0

Image {
    source: "rec/rec/image/background.png";

    Image {
        x: 40;
        y: 80;
        source: "rec/rec/image/rocket.png";

        NumberAnimation on x {
            to: 240;
            duration: 4000;
            loops: Animation.Infinite;
        }

        RotationAnimation on rotation {
            to: 360;
            duration: 4000;
            loops: Animation.Infinite;
        }
    }

    NumberAnimation on opacity {
        from: 0.6;
        to: 1;
        duration: 400;
        easing.type: Easing.InQuad;
    }
}
